﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Borton.Beans
{
    class Cella : Bean
    {

        public Cella()
        {
            tableName = "Cella";
            fields = new Field[] {
                new Field("id", FieldType.NUMBER),
                new Field("szam", FieldType.NUMBER),
                new Identifier("reszleg_id", typeof(Reszleg))
            };
            referringBeans = new Bean[] {
                new Rab()
            };
        }

        public override object Clone()
        {
            return new Cella();
        }
    }
}
